<?php

require_once($_SERVER['DOCUMENT_ROOT'].'/ukkepuk/source/php/classes/dao/KidDao.php'); 
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of KidService
 *
 * @author virtual
 */
class KidService {
    
    private $kidDao;

    public function __construct(){
        $this->kidDao = new KidDao();

    }
    
    public function saveInOut($kidInOut){
        return $this->kidDao->saveInOut($kidInOut);
    }
    


    public function readAllKidsSubscribed() {
        return $this->kidDao->readAllKidsSubscribed();
    }
    
    public function readKidInfoXml($kid, $today) {
        return $this->kidDao->readKidInfoXml($kid, $today);
    }
    
    public function readKidFamilyAndAdmin($kid) {
        return $this->kidDao->readKidFamilyAndAdmin($kid);
    }
    
    public function saveDiaperForKid($diaper) {
        return $this->kidDao->saveDiaperForKid($diaper);
    }
    
    public function saveTemperature($temperature) {
        return $this->kidDao->saveTemperature($temperature);
    }
    
    
    public function saveSleepForKid($sleep) {
        return $this->kidDao->saveSleepForKid($sleep);
    }
    
    public function saveDrinkForKid($drink) {
        return $this->kidDao->saveDrinkForKid($drink);
    }
    
    public function saveFoodForKid($food) {
        return $this->kidDao->saveFoodForKid($food);
    }
    
    public function saveNote($kidReport) {
        return $this->kidDao->saveNote($kidReport);
    }
    
    public function readNote($kidReport) {
        return $this->kidDao->readNote($kidReport);
    }
}

?>
